package com.songlanyun.modules.config.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 * 积分配置-等级配置
 *
 * @author lijiahe
 * @email
 * @date 2022-09-21 14:58:22
 */
@Data
@TableName("yxt_point_grade_config")
public class PointGradeConfigEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键id
	 */
	@TableId
	private Integer id;
	/**
	 * 团队下激活人数大于等于目标值升级为此等级
	 */
	private Integer geNumPeople;
	/**
	 * 直推人数
	 */
	private Integer numDirectReferrals;
	/**
	 * 消费标准
	 */
	private BigDecimal consumerStandards;
	/**
	 * 创建时间
	 */
	@TableField(fill = FieldFill.INSERT)
	private Date createTime;
	/**
	 * 修改时间
	 */
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date updateTime;

}
